
check-mount2:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400638 <_init>:
  400638:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  40063c:	910003fd 	mov	x29, sp
  400640:	9400004a 	bl	400768 <call_weak_fn>
  400644:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400648:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400650 <.plt>:
  400650:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400654:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf568>
  400658:	f947fe11 	ldr	x17, [x16, #4088]
  40065c:	913fe210 	add	x16, x16, #0xff8
  400660:	d61f0220 	br	x17
  400664:	d503201f 	nop
  400668:	d503201f 	nop
  40066c:	d503201f 	nop

0000000000400670 <fclose@plt>:
  400670:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400674:	f9400211 	ldr	x17, [x16]
  400678:	91000210 	add	x16, x16, #0x0
  40067c:	d61f0220 	br	x17

0000000000400680 <fopen@plt>:
  400680:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400684:	f9400611 	ldr	x17, [x16, #8]
  400688:	91002210 	add	x16, x16, #0x8
  40068c:	d61f0220 	br	x17

0000000000400690 <__libc_start_main@plt>:
  400690:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400694:	f9400a11 	ldr	x17, [x16, #16]
  400698:	91004210 	add	x16, x16, #0x10
  40069c:	d61f0220 	br	x17

00000000004006a0 <memset@plt>:
  4006a0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006a4:	f9400e11 	ldr	x17, [x16, #24]
  4006a8:	91006210 	add	x16, x16, #0x18
  4006ac:	d61f0220 	br	x17

00000000004006b0 <system@plt>:
  4006b0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006b4:	f9401211 	ldr	x17, [x16, #32]
  4006b8:	91008210 	add	x16, x16, #0x20
  4006bc:	d61f0220 	br	x17

00000000004006c0 <__gmon_start__@plt>:
  4006c0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006c4:	f9401611 	ldr	x17, [x16, #40]
  4006c8:	9100a210 	add	x16, x16, #0x28
  4006cc:	d61f0220 	br	x17

00000000004006d0 <abort@plt>:
  4006d0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006d4:	f9401a11 	ldr	x17, [x16, #48]
  4006d8:	9100c210 	add	x16, x16, #0x30
  4006dc:	d61f0220 	br	x17

00000000004006e0 <puts@plt>:
  4006e0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006e4:	f9401e11 	ldr	x17, [x16, #56]
  4006e8:	9100e210 	add	x16, x16, #0x38
  4006ec:	d61f0220 	br	x17

00000000004006f0 <__isoc99_sscanf@plt>:
  4006f0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006f4:	f9402211 	ldr	x17, [x16, #64]
  4006f8:	91010210 	add	x16, x16, #0x40
  4006fc:	d61f0220 	br	x17

0000000000400700 <printf@plt>:
  400700:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400704:	f9402611 	ldr	x17, [x16, #72]
  400708:	91012210 	add	x16, x16, #0x48
  40070c:	d61f0220 	br	x17

0000000000400710 <fgets@plt>:
  400710:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400714:	f9402a11 	ldr	x17, [x16, #80]
  400718:	91014210 	add	x16, x16, #0x50
  40071c:	d61f0220 	br	x17

Disassembly of section .text:

0000000000400720 <_start>:
  400720:	d280001d 	mov	x29, #0x0                   	// #0
  400724:	d280001e 	mov	x30, #0x0                   	// #0
  400728:	aa0003e5 	mov	x5, x0
  40072c:	f94003e1 	ldr	x1, [sp]
  400730:	910023e2 	add	x2, sp, #0x8
  400734:	910003e6 	mov	x6, sp
  400738:	580000c0 	ldr	x0, 400750 <_start+0x30>
  40073c:	580000e3 	ldr	x3, 400758 <_start+0x38>
  400740:	58000104 	ldr	x4, 400760 <_start+0x40>
  400744:	97ffffd3 	bl	400690 <__libc_start_main@plt>
  400748:	97ffffe2 	bl	4006d0 <abort@plt>
  40074c:	00000000 	.inst	0x00000000 ; undefined
  400750:	00400944 	.word	0x00400944
  400754:	00000000 	.word	0x00000000
  400758:	00400960 	.word	0x00400960
  40075c:	00000000 	.word	0x00000000
  400760:	004009e0 	.word	0x004009e0
  400764:	00000000 	.word	0x00000000

0000000000400768 <call_weak_fn>:
  400768:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf568>
  40076c:	f947f000 	ldr	x0, [x0, #4064]
  400770:	b4000040 	cbz	x0, 400778 <call_weak_fn+0x10>
  400774:	17ffffd3 	b	4006c0 <__gmon_start__@plt>
  400778:	d65f03c0 	ret
  40077c:	00000000 	.inst	0x00000000 ; undefined

0000000000400780 <deregister_tm_clones>:
  400780:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400784:	9101a000 	add	x0, x0, #0x68
  400788:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40078c:	9101a021 	add	x1, x1, #0x68
  400790:	eb00003f 	cmp	x1, x0
  400794:	540000a0 	b.eq	4007a8 <deregister_tm_clones+0x28>  // b.none
  400798:	90000001 	adrp	x1, 400000 <_init-0x638>
  40079c:	f9450021 	ldr	x1, [x1, #2560]
  4007a0:	b4000041 	cbz	x1, 4007a8 <deregister_tm_clones+0x28>
  4007a4:	d61f0020 	br	x1
  4007a8:	d65f03c0 	ret
  4007ac:	d503201f 	nop

00000000004007b0 <register_tm_clones>:
  4007b0:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  4007b4:	9101a000 	add	x0, x0, #0x68
  4007b8:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  4007bc:	9101a021 	add	x1, x1, #0x68
  4007c0:	cb000021 	sub	x1, x1, x0
  4007c4:	9343fc21 	asr	x1, x1, #3
  4007c8:	8b41fc21 	add	x1, x1, x1, lsr #63
  4007cc:	9341fc21 	asr	x1, x1, #1
  4007d0:	b40000a1 	cbz	x1, 4007e4 <register_tm_clones+0x34>
  4007d4:	90000002 	adrp	x2, 400000 <_init-0x638>
  4007d8:	f9450442 	ldr	x2, [x2, #2568]
  4007dc:	b4000042 	cbz	x2, 4007e4 <register_tm_clones+0x34>
  4007e0:	d61f0040 	br	x2
  4007e4:	d65f03c0 	ret

00000000004007e8 <__do_global_dtors_aux>:
  4007e8:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  4007ec:	910003fd 	mov	x29, sp
  4007f0:	f9000bf3 	str	x19, [sp, #16]
  4007f4:	b0000093 	adrp	x19, 411000 <fclose@GLIBC_2.17>
  4007f8:	3941a260 	ldrb	w0, [x19, #104]
  4007fc:	35000080 	cbnz	w0, 40080c <__do_global_dtors_aux+0x24>
  400800:	97ffffe0 	bl	400780 <deregister_tm_clones>
  400804:	52800020 	mov	w0, #0x1                   	// #1
  400808:	3901a260 	strb	w0, [x19, #104]
  40080c:	f9400bf3 	ldr	x19, [sp, #16]
  400810:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400814:	d65f03c0 	ret

0000000000400818 <frame_dummy>:
  400818:	17ffffe6 	b	4007b0 <register_tm_clones>

000000000040081c <xy_usb_detect_mount>:
  40081c:	d111c3ff 	sub	sp, sp, #0x470
  400820:	a9007bfd 	stp	x29, x30, [sp]
  400824:	910003fd 	mov	x29, sp
  400828:	910123a0 	add	x0, x29, #0x48
  40082c:	d2808001 	mov	x1, #0x400                 	// #1024
  400830:	aa0103e2 	mov	x2, x1
  400834:	52800001 	mov	w1, #0x0                   	// #0
  400838:	97ffff9a 	bl	4006a0 <memset@plt>
  40083c:	b9046fbf 	str	wzr, [x29, #1132]
  400840:	f90233bf 	str	xzr, [x29, #1120]
  400844:	f9022fbf 	str	xzr, [x29, #1112]
  400848:	f9022bbf 	str	xzr, [x29, #1104]
  40084c:	90000000 	adrp	x0, 400000 <_init-0x638>
  400850:	91284000 	add	x0, x0, #0xa10
  400854:	97ffff97 	bl	4006b0 <system@plt>
  400858:	7100001f 	cmp	w0, #0x0
  40085c:	540006c1 	b.ne	400934 <xy_usb_detect_mount+0x118>  // b.any
  400860:	90000000 	adrp	x0, 400000 <_init-0x638>
  400864:	9128a001 	add	x1, x0, #0xa28
  400868:	90000000 	adrp	x0, 400000 <_init-0x638>
  40086c:	9128c000 	add	x0, x0, #0xa30
  400870:	97ffff84 	bl	400680 <fopen@plt>
  400874:	f90227a0 	str	x0, [x29, #1096]
  400878:	f94227a0 	ldr	x0, [x29, #1096]
  40087c:	f100001f 	cmp	x0, #0x0
  400880:	54000101 	b.ne	4008a0 <xy_usb_detect_mount+0x84>  // b.any
  400884:	90000000 	adrp	x0, 400000 <_init-0x638>
  400888:	9128c001 	add	x1, x0, #0xa30
  40088c:	90000000 	adrp	x0, 400000 <_init-0x638>
  400890:	91290000 	add	x0, x0, #0xa40
  400894:	97ffff9b 	bl	400700 <printf@plt>
  400898:	12800000 	mov	w0, #0xffffffff            	// #-1
  40089c:	14000027 	b	400938 <xy_usb_detect_mount+0x11c>
  4008a0:	90000000 	adrp	x0, 400000 <_init-0x638>
  4008a4:	91296000 	add	x0, x0, #0xa58
  4008a8:	f90013a0 	str	x0, [x29, #32]
  4008ac:	f94013a0 	ldr	x0, [x29, #32]
  4008b0:	97ffff8c 	bl	4006e0 <puts@plt>
  4008b4:	14000018 	b	400914 <xy_usb_detect_mount+0xf8>
  4008b8:	910063a0 	add	x0, x29, #0x18
  4008bc:	d2800602 	mov	x2, #0x30                  	// #48
  4008c0:	52800001 	mov	w1, #0x0                   	// #0
  4008c4:	97ffff77 	bl	4006a0 <memset@plt>
  4008c8:	f9400fa2 	ldr	x2, [x29, #24]
  4008cc:	f94013a3 	ldr	x3, [x29, #32]
  4008d0:	f94017a4 	ldr	x4, [x29, #40]
  4008d4:	f9401ba5 	ldr	x5, [x29, #48]
  4008d8:	f9401fa6 	ldr	x6, [x29, #56]
  4008dc:	f94023a7 	ldr	x7, [x29, #64]
  4008e0:	90000000 	adrp	x0, 400000 <_init-0x638>
  4008e4:	91298001 	add	x1, x0, #0xa60
  4008e8:	910123a0 	add	x0, x29, #0x48
  4008ec:	97ffff81 	bl	4006f0 <__isoc99_sscanf@plt>
  4008f0:	f9400fa1 	ldr	x1, [x29, #24]
  4008f4:	f94013a2 	ldr	x2, [x29, #32]
  4008f8:	f94017a3 	ldr	x3, [x29, #40]
  4008fc:	f9401ba4 	ldr	x4, [x29, #48]
  400900:	f9401fa5 	ldr	x5, [x29, #56]
  400904:	f94023a6 	ldr	x6, [x29, #64]
  400908:	90000000 	adrp	x0, 400000 <_init-0x638>
  40090c:	9129e000 	add	x0, x0, #0xa78
  400910:	97ffff7c 	bl	400700 <printf@plt>
  400914:	910123a0 	add	x0, x29, #0x48
  400918:	f94227a2 	ldr	x2, [x29, #1096]
  40091c:	52808001 	mov	w1, #0x400                 	// #1024
  400920:	97ffff7c 	bl	400710 <fgets@plt>
  400924:	f100001f 	cmp	x0, #0x0
  400928:	54fffc81 	b.ne	4008b8 <xy_usb_detect_mount+0x9c>  // b.any
  40092c:	f94227a0 	ldr	x0, [x29, #1096]
  400930:	97ffff50 	bl	400670 <fclose@plt>
  400934:	52800000 	mov	w0, #0x0                   	// #0
  400938:	a9407bfd 	ldp	x29, x30, [sp]
  40093c:	9111c3ff 	add	sp, sp, #0x470
  400940:	d65f03c0 	ret

0000000000400944 <main>:
  400944:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400948:	910003fd 	mov	x29, sp
  40094c:	97ffffb4 	bl	40081c <xy_usb_detect_mount>
  400950:	d503201f 	nop
  400954:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400958:	d65f03c0 	ret
  40095c:	00000000 	.inst	0x00000000 ; undefined

0000000000400960 <__libc_csu_init>:
  400960:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400964:	910003fd 	mov	x29, sp
  400968:	a901d7f4 	stp	x20, x21, [sp, #24]
  40096c:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf568>
  400970:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf568>
  400974:	91374294 	add	x20, x20, #0xdd0
  400978:	913722b5 	add	x21, x21, #0xdc8
  40097c:	a902dff6 	stp	x22, x23, [sp, #40]
  400980:	cb150294 	sub	x20, x20, x21
  400984:	f9001ff8 	str	x24, [sp, #56]
  400988:	2a0003f6 	mov	w22, w0
  40098c:	aa0103f7 	mov	x23, x1
  400990:	9343fe94 	asr	x20, x20, #3
  400994:	aa0203f8 	mov	x24, x2
  400998:	97ffff28 	bl	400638 <_init>
  40099c:	b4000194 	cbz	x20, 4009cc <__libc_csu_init+0x6c>
  4009a0:	f9000bb3 	str	x19, [x29, #16]
  4009a4:	d2800013 	mov	x19, #0x0                   	// #0
  4009a8:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  4009ac:	aa1803e2 	mov	x2, x24
  4009b0:	aa1703e1 	mov	x1, x23
  4009b4:	2a1603e0 	mov	w0, w22
  4009b8:	91000673 	add	x19, x19, #0x1
  4009bc:	d63f0060 	blr	x3
  4009c0:	eb13029f 	cmp	x20, x19
  4009c4:	54ffff21 	b.ne	4009a8 <__libc_csu_init+0x48>  // b.any
  4009c8:	f9400bb3 	ldr	x19, [x29, #16]
  4009cc:	a941d7f4 	ldp	x20, x21, [sp, #24]
  4009d0:	a942dff6 	ldp	x22, x23, [sp, #40]
  4009d4:	f9401ff8 	ldr	x24, [sp, #56]
  4009d8:	a8c47bfd 	ldp	x29, x30, [sp], #64
  4009dc:	d65f03c0 	ret

00000000004009e0 <__libc_csu_fini>:
  4009e0:	d65f03c0 	ret

Disassembly of section .fini:

00000000004009e4 <_fini>:
  4009e4:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  4009e8:	910003fd 	mov	x29, sp
  4009ec:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4009f0:	d65f03c0 	ret
